package jnpf.zc.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jnpf.permission.service.AuthorizeService;
import jnpf.util.GeneraterSwapUtil;
import jnpf.util.ServletUtil;
import jnpf.util.UserProvider;
import jnpf.zc.entity.ZcglZcdjPhotoEntity;
import jnpf.zc.mapper.ZcglZcdjPhotoMapper;
import jnpf.zc.model.zcglzcdjinfo.ZcglZcdjInfoPagination;
import jnpf.zc.service.ZcglZcdjPhotoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * 资产登记
 * 版本： V3.2.0
 * 版权： 智果云科技（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 * 日期： 2024-12-19
 */
@Service
public class ZcglZcdjPhotoServiceImpl extends ServiceImpl<ZcglZcdjPhotoMapper, ZcglZcdjPhotoEntity> implements ZcglZcdjPhotoService {

        @Autowired
        private GeneraterSwapUtil generaterSwapUtil;

        @Autowired
        private UserProvider userProvider;

        @Autowired
        private AuthorizeService authorizeService;
@Override
public QueryWrapper<ZcglZcdjPhotoEntity> getChild(ZcglZcdjInfoPagination pagination, QueryWrapper<ZcglZcdjPhotoEntity> zcglZcdjPhotoQueryWrapper){
    boolean pcPermission = false;
    boolean appPermission = false;
    boolean	isPc = ServletUtil.getHeader("jnpf-origin").equals("pc");
    if(isPc){
        }

        return zcglZcdjPhotoQueryWrapper;
		}
}
